<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.henu.col05023.common.CommonUtil"%>
<%@ page import="com.henu.col05023.common.data.Student"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
	Student student = (Student) request.getSession().getAttribute("student");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<META http-equiv=Content-Type content="text/html; charset= utf-8">
		<LINK href="<%=path%>/common/css/admin.css" type="text/css"
			rel="stylesheet">
		<script type="text/javascript"
			src="<%=path%>/common/js/admin_prompt.js"></script>
		<script type="text/javascript"
			src="<%=path%>/common/js/jquery.js"></script>
		<script type="text/javascript">
		var APP_PATH;
		var MSG1;
		function doLogout(){
			if(window.confirm("您确实要退出系统吗？")){
				var obj_form = document.forms[0];
				obj_form.submit();
			}
		}
		
		function init(path){
			APP_PATH = path;
			
		}
		function openPrompt(){
			
		}
		</script>
	</HEAD>
	<BODY onload="init('<%=path %>');">
		<input type="hidden" id="path" name="path" value="<%=path %>"/>
		<form action="<%=path%>/login.do?method=doLogout" method="post"
			onsubmit="doLogout()" target="_parent">
			<TABLE cellSpacing=0 cellPadding=0 width="100%"
				background="<%=path%>/common/images/admin/header_bg.jpg" border=0>
				<TR height=56>
					<TD width=800
						style="background:url(<%=path%>/common/images/admin/header_left.jpg) no-repeat left top">
					</TD>
					<TD nowrap
						style="FONT-WEIGHT: bold; COLOR: #fff; PADDING-TOP: 30px; width:300px;text-align:right;">
						登陆用户：
						<%=student.getName()%>
						&nbsp;&nbsp;
						<A style="COLOR: #fff" href="<%=path%>/admin/password.jsp"
							target="main">修改密码</A> &nbsp;&nbsp;
						<A style="COLOR: #fff" onclick="doLogout()"
							href="javascript:void(0);">退出系统</A>
					</TD>
					<TD align=right nowrap width=110
						style="background:url(<%=path%>/common/images/admin/header_right.jpg) no-repeat right top">
						&nbsp;
					</TD>
				</TR>
			</TABLE>
			<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
				<TR bgColor=#1c5db6 height=4>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</BODY>
</HTML>
